package com.design.responsibility.demo1;

// 支付处理器接口
interface PaymentProcessor {
    void setNextProcessor(PaymentProcessor nextProcessor);
    void processPayment(float amount);
}
